<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>确认支付</title>
	<meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0, maximum-scale=1.0">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="format-detection" content="telephone=no">
	<link type="text/css" rel="stylesheet" media="screen" href="__FONT__/css/style.css"/>
    <link type="text/css" rel="stylesheet" media="screen" href="__FONT__/css/media.css"/>
    <script type="text/javascript" src="__FONT__/js/jquery-1.9.1.min.js"></script>
    <script type="text/javascript">
		$(function(){
			var price = parseFloat('{$order.price}');
		  
		  	$(".pay_discount h1").click(function(){
			  	$(".pay_show").slideToggle();
			});
		  
		  	$(".pay_show dd").click(function(){
			  	if (!$(this).find('i').length) {
				  	$(this).children('label').after('<i></i>');
			  	} else {
				  	$(this).find('i').show();
			  	}
			 
			  	$(this).siblings().children('i').hide();
			  	$(".add_pay").html($(this).html());
			  	$(".pay_show").slideToggle('slow');
			  	
			  	$("#priceShow").text(price - );
			});
		});
	</script>
    <style>
	
	</style>
</head>
<body style="background:#f7f7f9;">
 	<section class="beauty_sec beauty_pay">
      <div class="pay_main">
        <h1>{$order.service_name}</h1>
        <h2>服务项目：<span>{$order.service_name}</span><label>￥{$order.price}</label></h2>
        <div class="pay_myself">
          <img src="__FONT__/images/btylist_01.png">
          <dd>
            <strong><span>美容师：</span><label>{$beautician.name}</label></strong>
            <strong><span>服务时间：</span><label>{$item.service_time}分钟</label></strong>
          </dd>
        </div>
        <div class="pay_yourself">
            <strong><span>预约人：</span><label>{$user.username}</label><a>（{$user.mobile}）</a></strong>
            <strong><span>预约时间：</span><label>{$order.order_time|date="Y-m-d H:i:s",###}</label></strong>
            <strong><span>服务地址：</span><label class="mydress">{$order.service_address}</label></strong>
        </div>
      </div>
      
      <div class="pay_discount">
        <h1>优惠券：<i></i></h1>
        <dd class="add_pay"></dd>
        <div class="pay_show">
          <foreach name="coupons" item="coupon">
          <dd data-id="{$coupon.id}"><span>{$coupon.coupon_title}</span><label>-￥<if condition="$coupon['c_type'] eq 2">{$coupon.money_amount}<else />{$coupon.money_reduce}</if></label></dd>
          </foreach>
        </div>
      </div>
      
      <div class="pay_method">
        <h1>支付方式：</h1>
        <dd><span>微信支付</span><label></label></dd>
      </div>
	</section>
    <footer class="pay_going">
       <dd><span>实付金额：</span><label>￥<span id="priceShow">{$order.price}</span></label></dd>
       <a href="#">去支付</a>
    </footer>
</body>
</html>